home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ultra Pack
/
UltraComputing Partner Applications.iso
/
SunLabs
/
tclTK
/
src
/
tcl7.4p1.patch
< prev
next >
Wrap
Text File
|
1995-07-28
|
30KB
|
1,117 lines
Prereq: "7.4"
*** ../tcl7.4/patchlevel.h Thu Jun 29 14:47:22 1995
--- patchlevel.h Fri Jul 28 10:08:25 1995
***************
*** 17,23 ****
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
! * @(#) patchlevel.h 1.9 95/06/29 14:47:20
*/
! #define TCL_PATCH_LEVEL "7.4"
--- 17,23 ----
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
! * @(#) patchlevel.h 1.10 95/07/28 10:08:24
*/
! #define TCL_PATCH_LEVEL "7.4p1"
*** ../tcl7.4/./Makefile.in Fri Jun 30 11:20:04 1995
--- ./Makefile.in Fri Jul 28 10:21:04 1995
***************
*** 5,11 ****
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
! # @(#) Makefile.in 1.23 95/06/08 13:13:36
# Current Tcl version; used in various names.
--- 5,11 ----
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
! # @(#) Makefile.in 1.24 95/07/27 12:40:13
# Current Tcl version; used in various names.
***************
*** 65,70 ****
--- 65,75 ----
# Tcl commands:
MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann
+ # Additional libraries to use when linking. The "LIBS" part will be
+ # replaced (or has already been replaced) with relevant libraries as
+ # determined by the configure script.
+ LIBS = @LIBS@
+
# To change the compiler switches, for example to change from -O
# to -g, change the following line:
CFLAGS = -O
***************
*** 159,168 ****
$(RANLIB) libtcl.a
tclsh: tclAppInit.o libtcl.a
! ${CC} ${CC_SWITCHES} tclAppInit.o libtcl.a ${MATH_LIBS} -o tclsh
tcltest: tclTest.o libtcl.a
! ${CC} ${CC_SWITCHES} tclTest.o libtcl.a ${MATH_LIBS} -o tcltest
test: tcltest
@cwd=`pwd`; \
--- 164,173 ----
$(RANLIB) libtcl.a
tclsh: tclAppInit.o libtcl.a
! ${CC} ${CC_SWITCHES} tclAppInit.o libtcl.a ${LIBS} ${MATH_LIBS} -o tclsh
tcltest: tclTest.o libtcl.a
! ${CC} ${CC_SWITCHES} tclTest.o libtcl.a ${LIBS} ${MATH_LIBS} -o tcltest
test: tcltest
@cwd=`pwd`; \
***************
*** 174,180 ****
@echo "# Definitions and libraries needed to build Tcl applications" >> configInfo
@echo "# (generated by the configure script):" >> configInfo
@echo "TCL_CC_SWITCHES = ${AC_FLAGS} ${MEM_DEBUG_FLAGS}" >> configInfo
! @echo "TCL_LIBS = ${MATH_LIBS} @LIBS@" >> configInfo
install: install-binaries install-libraries install-man
--- 179,185 ----
@echo "# Definitions and libraries needed to build Tcl applications" >> configInfo
@echo "# (generated by the configure script):" >> configInfo
@echo "TCL_CC_SWITCHES = ${AC_FLAGS} ${MEM_DEBUG_FLAGS}" >> configInfo
! @echo "TCL_LIBS = ${LIBS} ${MATH_LIBS}" >> configInfo
install: install-binaries install-libraries install-man
*** ../tcl7.4/./tclBasic.c Thu Jun 29 13:33:23 1995
--- ./tclBasic.c Tue Jul 25 13:01:45 1995
***************
*** 12,18 ****
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
! static char sccsid[] = "@(#) tclBasic.c 1.168 95/06/29 13:33:21";
#include "tclInt.h"
#ifndef TCL_GENERIC_ONLY
--- 12,18 ----
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
! static char sccsid[] = "@(#) tclBasic.c 1.169 95/07/25 13:01:44";
#include "tclInt.h"
#ifndef TCL_GENERIC_ONLY
***************
*** 704,714 ****
return -1;
}
cmdPtr = (Command *) Tcl_GetHashValue(hPtr);
if (cmdPtr->deleteProc != NULL) {
(*cmdPtr->deleteProc)(cmdPtr->deleteData);
}
ckfree((char *) cmdPtr);
- Tcl_DeleteHashEntry(hPtr);
return 0;
}
--- 704,721 ----
return -1;
}
cmdPtr = (Command *) Tcl_GetHashValue(hPtr);
+
+ /*
+ * Delete the hash table entry before invoking the deletion callback;
+ * otherwise the callback could delete the command a second time, or
+ * create a new command on top of the one we're deleting.
+ */
+
+ Tcl_DeleteHashEntry(hPtr);
if (cmdPtr->deleteProc != NULL) {
(*cmdPtr->deleteProc)(cmdPtr->deleteData);
}
ckfree((char *) cmdPtr);
return 0;
}
*** ../tcl7.4/./tclUnixUtil.c Wed Mar 29 11:24:26 1995
--- ./tclUnixUtil.c Sat Jul 22 17:31:37 1995
***************
*** 16,24 ****
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
! #ifndef lint
! static char sccsid[] = "@(#) tclUnixUtil.c 1.55 95/03/29 11:24:23";
! #endif /* not lint */
#include "tclInt.h"
#include "tclPort.h"
--- 16,22 ----
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
! static char sccsid[] = "@(#) tclUnixUtil.c 1.56 95/07/22 17:31:36";
#include "tclInt.h"
#include "tclPort.h"
***************
*** 634,640 ****
pidPtr[i] = -1;
}
Tcl_ReapDetachedProcs();
! for (firstArg = 0; firstArg < argc; numPids++, firstArg = lastArg+1) {
int joinThisError;
int curOutputId;
--- 632,638 ----
pidPtr[i] = -1;
}
Tcl_ReapDetachedProcs();
! for (firstArg = 0; firstArg < argc; firstArg = lastArg+1) {
int joinThisError;
int curOutputId;
***************
*** 726,731 ****
--- 724,738 ----
}
/*
+ * Add the child process to the list of those to be reaped.
+ * Note: must do it now, so that the process will be reaped
+ * even if an error occurred during its startup.
+ */
+
+ pidPtr[numPids] = pid;
+ numPids++;
+
+ /*
* Read back from the error pipe to see if the child startup
* up OK. The info in the pipe (if any) consists of a decimal
* errno value followed by an error message.
***************
*** 744,750 ****
}
close(errPipeIds[0]);
errPipeIds[0] = -1;
- pidPtr[numPids] = pid;
/*
* Close off our copies of file descriptors that were set up for
--- 751,756 ----
*** ../tcl7.4/./configure Fri Jun 30 11:20:16 1995
--- ./configure Fri Jul 28 10:21:16 1995
***************
*** 1,7 ****
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated automatically using autoconf version 2.2
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
--- 1,7 ----
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated automatically using autoconf version 2.4
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
***************
*** 216,222 ****
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
! echo "configure generated by autoconf version 2.2"
exit 0 ;;
-with-* | --with-*)
--- 216,222 ----
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
! echo "configure generated by autoconf version 2.4"
exit 0 ;;
-with-* | --with-*)
***************
*** 382,389 ****
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
! ac_compile='${CC-cc} conftest.$ac_ext $CFLAGS $CPPFLAGS -c 1>&5 2>&5'
! ac_link='${CC-cc} conftest.$ac_ext $CFLAGS $CPPFLAGS $LDFLAGS -o conftest $LIBS 1>&5 2>&5'
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
--- 382,389 ----
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
! ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
! ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
***************
*** 909,916 ****
rm -f conftest*
ac_cv_prog_CPP="$CPP"
fi
fi
- CPP="$ac_cv_prog_CPP"
echo "$ac_t""$CPP" 1>&6
for ac_hdr in unistd.h
--- 909,918 ----
rm -f conftest*
ac_cv_prog_CPP="$CPP"
fi
+ CPP="$ac_cv_prog_CPP"
+ else
+ ac_cv_prog_CPP="$CPP"
fi
echo "$ac_t""$CPP" 1>&6
for ac_hdr in unistd.h
***************
*** 921,927 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 925 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
--- 923,929 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 927 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
***************
*** 939,945 ****
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
! ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
--- 941,947 ----
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
! ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
***************
*** 951,957 ****
echo $ac_n "checking dirent.h""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 955 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <dirent.h>
--- 953,959 ----
echo $ac_n "checking dirent.h""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 957 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <dirent.h>
***************
*** 988,994 ****
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 992 "configure"
#include "confdefs.h"
#include <dirent.h>
EOF
--- 990,996 ----
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 994 "configure"
#include "confdefs.h"
#include <dirent.h>
EOF
***************
*** 1012,1018 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1016 "configure"
#include "confdefs.h"
#include <errno.h>
EOF
--- 1014,1020 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1018 "configure"
#include "confdefs.h"
#include <errno.h>
EOF
***************
*** 1045,1051 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1049 "configure"
#include "confdefs.h"
#include <float.h>
EOF
--- 1047,1053 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1051 "configure"
#include "confdefs.h"
#include <float.h>
EOF
***************
*** 1078,1084 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1082 "configure"
#include "confdefs.h"
#include <limits.h>
EOF
--- 1080,1086 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1084 "configure"
#include "confdefs.h"
#include <limits.h>
EOF
***************
*** 1111,1117 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1115 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
--- 1113,1119 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1117 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
***************
*** 1136,1142 ****
fi
cat > conftest.$ac_ext <<EOF
! #line 1140 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
--- 1138,1144 ----
fi
cat > conftest.$ac_ext <<EOF
! #line 1142 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
***************
*** 1150,1156 ****
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 1154 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
--- 1152,1158 ----
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 1156 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
***************
*** 1164,1170 ****
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 1168 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
--- 1166,1172 ----
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 1170 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
***************
*** 1189,1195 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1193 "configure"
#include "confdefs.h"
#include <string.h>
EOF
--- 1191,1197 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1195 "configure"
#include "confdefs.h"
#include <string.h>
EOF
***************
*** 1214,1220 ****
fi
cat > conftest.$ac_ext <<EOF
! #line 1218 "configure"
#include "confdefs.h"
#include <string.h>
EOF
--- 1216,1222 ----
fi
cat > conftest.$ac_ext <<EOF
! #line 1220 "configure"
#include "confdefs.h"
#include <string.h>
EOF
***************
*** 1228,1234 ****
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 1232 "configure"
#include "confdefs.h"
#include <string.h>
EOF
--- 1230,1236 ----
rm -f conftest*
cat > conftest.$ac_ext <<EOF
! #line 1234 "configure"
#include "confdefs.h"
#include <string.h>
EOF
***************
*** 1253,1259 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1257 "configure"
#include "confdefs.h"
#include <sys/time.h>
EOF
--- 1255,1261 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1259 "configure"
#include "confdefs.h"
#include <sys/time.h>
EOF
***************
*** 1286,1292 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1290 "configure"
#include "confdefs.h"
#include <sys/wait.h>
EOF
--- 1288,1294 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1292 "configure"
#include "confdefs.h"
#include <sys/wait.h>
EOF
***************
*** 1324,1330 ****
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 1328 "configure"
#include "confdefs.h"
extern int strstr();
--- 1326,1332 ----
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 1330 "configure"
#include "confdefs.h"
extern int strstr();
***************
*** 1360,1366 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1364 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtoul(); below. */
--- 1362,1368 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1366 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtoul(); below. */
***************
*** 1404,1410 ****
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 1408 "configure"
#include "confdefs.h"
extern int strtoul();
--- 1406,1412 ----
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 1410 "configure"
#include "confdefs.h"
extern int strtoul();
***************
*** 1443,1449 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1447 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtod(); below. */
--- 1445,1451 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1449 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtod(); below. */
***************
*** 1487,1493 ****
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 1491 "configure"
#include "confdefs.h"
extern double strtod();
--- 1489,1495 ----
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 1493 "configure"
#include "confdefs.h"
extern double strtod();
***************
*** 1528,1534 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1532 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtod(); below. */
--- 1530,1536 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1534 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtod(); below. */
***************
*** 1574,1580 ****
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 1578 "configure"
#include "confdefs.h"
extern double strtod();
--- 1576,1582 ----
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 1580 "configure"
#include "confdefs.h"
extern double strtod();
***************
*** 1616,1622 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1620 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
--- 1618,1624 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1622 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
***************
*** 1638,1644 ****
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 1642 "configure"
#include "confdefs.h"
#include <string.h>
EOF
--- 1640,1646 ----
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 1644 "configure"
#include "confdefs.h"
#include <string.h>
EOF
***************
*** 1656,1662 ****
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 1660 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
--- 1658,1664 ----
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 1662 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
***************
*** 1677,1683 ****
ac_cv_header_stdc=no
else
cat > conftest.$ac_ext <<EOF
! #line 1681 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
--- 1679,1685 ----
ac_cv_header_stdc=no
else
cat > conftest.$ac_ext <<EOF
! #line 1683 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
***************
*** 1711,1717 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1715 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
--- 1713,1719 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1717 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
***************
*** 1742,1748 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1746 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
--- 1744,1750 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1748 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
***************
*** 1773,1779 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1777 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
--- 1775,1781 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1779 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
***************
*** 1804,1810 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1808 "configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
--- 1806,1812 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1810 "configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
***************
*** 1844,1850 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1848 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char opendir(); below. */
--- 1846,1852 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1850 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char opendir(); below. */
***************
*** 1896,1902 ****
echo $ac_n "checking sys_errlist""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 1900 "configure"
#include "confdefs.h"
int main() { return 0; }
--- 1898,1904 ----
echo $ac_n "checking sys_errlist""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 1902 "configure"
#include "confdefs.h"
int main() { return 0; }
***************
*** 1935,1941 ****
echo $ac_n "checking union wait""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 1939 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
--- 1937,1943 ----
echo $ac_n "checking union wait""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 1941 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
***************
*** 1972,1978 ****
echo $ac_n "checking matherr support""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 1976 "configure"
#include "confdefs.h"
#include <math.h>
int main() { return 0; }
--- 1974,1980 ----
echo $ac_n "checking matherr support""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 1978 "configure"
#include "confdefs.h"
#include <math.h>
int main() { return 0; }
***************
*** 2014,2020 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2018 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */
--- 2016,2022 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2020 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */
***************
*** 2060,2066 ****
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 2064 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 2062,2068 ----
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
! #line 2066 "configure"
#include "confdefs.h"
#include <stdio.h>
***************
*** 2119,2125 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2123 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strncasecmp(); below. */
--- 2121,2127 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2125 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strncasecmp(); below. */
***************
*** 2163,2169 ****
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2167 "configure"
#include "confdefs.h"
int main() { return 0; }
--- 2165,2171 ----
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2169 "configure"
#include "confdefs.h"
int main() { return 0; }
***************
*** 2184,2190 ****
fi
if eval "test \"`echo '$ac_cv_lib_'socket`\" = yes"; then
echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo socket | tr 'a-z' 'A-Z'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
--- 2186,2192 ----
fi
if eval "test \"`echo '$ac_cv_lib_'socket`\" = yes"; then
echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo socket | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
***************
*** 2215,2221 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2219 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char BSDgettimeofday(); below. */
--- 2217,2223 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2221 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char BSDgettimeofday(); below. */
***************
*** 2260,2266 ****
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2264 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gettimeofday(); below. */
--- 2262,2268 ----
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2266 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gettimeofday(); below. */
***************
*** 2307,2313 ****
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 2311 "configure"
#include "confdefs.h"
#include <sys/time.h>
EOF
--- 2309,2315 ----
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! #line 2313 "configure"
#include "confdefs.h"
#include <sys/time.h>
EOF
***************
*** 2416,2422 ****
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
! echo "$CONFIG_STATUS generated by autoconf version 2.2"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
--- 2418,2424 ----
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
! echo "$CONFIG_STATUS generated by autoconf version 2.4"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
***************
*** 2427,2433 ****
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
! trap 'rm -f Makefile; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
--- 2429,2435 ----
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
! trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
*** ../tcl7.4/./changes Fri Jun 30 11:19:05 1995
--- ./changes Fri Jul 28 10:20:44 1995
***************
*** 1225,1227 ****
--- 1225,1244 ----
to provide a hint about why the problem is occurring.
----------------- Released version 7.4, 7/1/95 ------------------
+
+ 7/19/95 (bug fix) Modified Tcl_DeleteCommand to delete the hash table
+ entry for the command before invoking its callback. This is needed in
+ order to deal with reentrancy. (core dumps could happen in "rename"
+ commands under some circumstances otherwise)
+
+ 7/22/95 (bug fix) "exec" wasn't reaping processes correctly after
+ certain errors (e.g. if the name of the executable was bogus, as
+ in "exec foobar").
+
+ 7/27/95 (bug fix) Makefile.in wasn't using the LIBS variable provided
+ by the "configure" script. This caused problems on some SCO systems.
+
+ 7/27/95 (bug fix) The version of strtod in fixstrtod.c didn't properly
+ handle the case where endPtr == NULL.
+
+ ----------------- Released patch 7.4p1, 7/29/95 -----------------------
*** ../tcl7.4/./compat/fixstrtod.c Tue Jun 27 16:19:56 1995
--- ./compat/fixstrtod.c Thu Jul 27 12:59:27 1995
***************
*** 11,18 ****
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
! static char sccsid[] = "@(#) fixstrtod.c 1.3 95/06/27 16:19:56";
#undef strtod
/*
--- 11,20 ----
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
! static char sccsid[] = "@(#) fixstrtod.c 1.4 95/07/27 12:59:26";
+ #include <stdio.h>
+
#undef strtod
/*
***************
*** 29,35 ****
{
double d;
d = strtod(string, endPtr);
! if ((*endPtr != string) && ((*endPtr)[-1] == 0)) {
*endPtr -= 1;
}
return d;
--- 31,37 ----
{
double d;
d = strtod(string, endPtr);
! if ((endPtr != NULL) && (*endPtr != string) && ((*endPtr)[-1] == 0)) {
*endPtr -= 1;
}
return d;